drm/vc4: Add support for setting DPMS in firmwarekms.
authorEric Anholt <eric@anholt.net>
Thu, 6 Jul 2017 18:45:48 +0000 (11:45 -0700)
committerpopcornmix <popcornmix@gmail.com>
Fri, 7 Jul 2017 10:21:09 +0000 (11:21 +0100)
commitaf0e9d152c249d162d1413e73b4fe979bfc03edf
tree4833d689d1547fc0001e3f57389bfa4060be7b0a
parent178308d2385aefac00701ea0fe073e0eb5b42175
drm/vc4: Add support for setting DPMS in firmwarekms.

This ensures that the screen goes blank during DPMS (screensaver),
including the cursor.  Planes don't necessarily get disabled during
CRTC disable, so we need to be careful to not leave them on or turn
them back on early.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_firmware_kms.c